package com.littleu.market.model;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("littleu_user_identity")
public class UserIdentityDO extends BaseModel implements Serializable {

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 认真类型 如 username_password，用户名-密码认证
     */
    private String identityType;

    /**
     * 认证 如：用户名
     */
    private String identifier;

    /**
     * 凭证 如：密码
     */
    private String credential;
}
